Contents | Index | < Browse | Browse >

LETTERispunctULETTER Tests for punctuation characters.

Overview
#include <ctype.h>

b = ispunct(ch);

int ch;

Portability
ANSI

Description
This function tests if the character passed is a special character. This includes all ASCII characters from 32 to 127 and 160 to 255, which are neither a letter nor a digit. For portability reasons the german Umlauts (äöüß) etc. are treated as special characters.

Returns
0 if it is no special character, a value <>0 otherwise.

See also